*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
html,body{
    width: 100%;
    height: 100%;
    background-image: url(https://img.tukuppt.com/ad_preview/00/15/87/5c99ad2c6984b.jpg!/fw/780);
    background-repeat: no-repeat;
    background-size: cover;
}
.nav{
    width: 100%;
    height: 60px;
    background-color: rgba(128,128,128,0.8);/*0.8是不透明度*/
    display: flex;
    justify-content: left;/*水平方向靠左*/
    align-items: center;/*竖直方向居中*/
    color: white;
}

.nav .space{
    width: 70%;
}
.nav img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 5px 5px 5px 5px;
}
.nav a{
    color: white;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 30px;
}
.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0px auto;
    height: 100%;
    width: 100%;

}
.container .container-left{
    height: 100%;
    width: 30%;
}
.container .container-right{
    height: 100%;
    width: 70%;
    overflow: auto;/*给右边弄一个滚动条*/
}
.card{
     width: 60%;
     height: 40%;
     background-color: rgba(255,255,255,0.8);
     margin-left: 150px;
     margin-right: 10px;
     margin-top: 60px;
     border-radius: 15px;
}
.card img{
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-left: 70px;
    margin-top: 20px;
}
.card h3{
    text-align: center;
}
.card a{
    display: block;/*a标签要变成块才能有下面的center*/
    text-align: center;
    text-decoration: none;
    color: blue;
}
.card a:hover{
    color: grey;
}
.card .counter{
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}
.blog{
    width: 80%;
    background-color: rgba(255,255,255,0.6);
    border-radius: 15px;
    margin-top: 30px;
    margin-left: 60px;
    margin-right: 60px;
}
.blog .title{
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    padding-top: 20px;
}
.blog .date{
    color: green;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
}
.blog .desc{
    text-indent: 2em;
    line-height: 30px;
}
.blog a{
    display: block;
    color: black;
    text-align: center;
    width: 140px;
    height: 40px;
    margin: 10px auto 0px auto;
    border: 2px solid black;
    line-height: 40px;
    text-decoration: none;
}